<?php


namespace app\mweb\controller;


use app\admin\model\Duty;
use app\admin\model\PushStore;
use app\admin\model\PushStoreRule;
use app\admin\model\Reply;
use app\common\Common;
use think\Request;
use app\admin\model\Chat;

class FastReply extends Common
{
    public function getInfoList(Request $request)
    {
        $user = $request->_user;
        $dutyIdArr = Duty::getDataDepartment();
        $res = Reply::getInfoList($dutyIdArr, $user["staff_no"]);
        return successJson("success",$res);
    }

    public function getSelfInfoList(Request $request)
    {
        $user = $request->_user;
        $dutyIdArr = Duty::getDataDepartment();
        $res = Reply::getSelfInfoList($dutyIdArr, $user["staff_no"]);
        return successJson("success",$res);
    }


}